package com.waijiaojun.tpo.exception;

import javax.naming.AuthenticationException;

/**
 * Created by Peter on 2018/2/5.
 */
public class LoginException extends AuthenticationException {
    private String errcode;
    private String errmsg;



    public LoginException(String explanation, String errcode, String errmsg) {
        super(explanation);
        this.errcode = errcode;
        this.errmsg = errmsg;
    }

    public String getErrcode() {
        return errcode;
    }

    public void setErrcode(String errcode) {
        this.errcode = errcode;
    }

    public String getErrmsg() {
        return errmsg;
    }

    public void setErrmsg(String errmsg) {
        this.errmsg = errmsg;
    }
}
